Try to combine consecutive window moves into one
authorAlexander Larsson <alexl@redhat.com>
Mon, 9 Feb 2009 13:18:27 +0000 (14:18 +0100)
committerAlexander Larsson <alex@localhost.localdomain>
Thu, 2 Apr 2009 08:16:29 +0000 (10:16 +0200)
commit05d3fc6bbd39cf264145ac3ee5cbccd0d7a774b3
tree8cc8503d16f15f2eb1e2690c84812d36c4e59e39
parentf0fb3f450ff6adb0f63a2bdbfee27d2a8eda940e
Try to combine consecutive window moves into one

It often happens that we move region A to B and then we move a subset
of B to C. When possible we'd like to replace this with a move from
A directly to C, and a suplimentary move from A to the areas of B not
overwritten by C.

Getting an optimal move combiner seems quite complicated, but this
simple approach gets most of the interesting cases right and isn't
all to complicated.
gdk/gdkwindow.c